Create a New Table by Example

Description

The Create Table - by Example process infers the table structure from sample data.

  1. Display the Tables/Sets tab of the Control Panel.

  2. Click New > New Table (by Example ...) to display the Create Table - by Example dialog box.

  3. If you want Alpha Anywhere to generate default field names, clear First row contains field names. In this case, you may want to specify field names and types.

  4. If you do not want Alpha Anywhere to strip leading blanks, clear Strip Leading blanks. Alpha Anywhere uses the ALLTRIM() function, which removes space and NULL characters.

  5. If you do not want Alpha Anywhere to scan the sample data to determine field sizes and types, clear Scan data to determine field sizes and types. In this case, you may want to specify field names and types. Refer to Create a New Table from Sample Data.

  6. Optionally, define a different Data Delimiter to indicate field boundaries. While the default separator is a comma, you may specify other characters.

  7. Enter data, one line per record.

  8. Click Create Table.

    images/XB_a5_table_by_example().png
  9. The resulting table is shown in the following image.

    images/XB_a5_table_by_example()_2.png

See Also